import request from '@/utils/request'

// 查询图片类型列表
export function listPhototypeid(query) {
  return request({
    url: '/hippocampus/phototypeid/list',
    method: 'get',
    params: query
  })
}

// 查询图片类型详细
export function getPhototypeid(id) {
  return request({
    url: '/hippocampus/phototypeid/' + id,
    method: 'get'
  })
}

// 新增图片类型
export function addPhototypeid(data) {
  return request({
    url: '/hippocampus/phototypeid',
    method: 'post',
    data: data
  })
}

// 修改图片类型
export function updatePhototypeid(data) {
  return request({
    url: '/hippocampus/phototypeid',
    method: 'put',
    data: data
  })
}

// 删除图片类型
export function delPhototypeid(id) {
  return request({
    url: '/hippocampus/phototypeid/' + id,
    method: 'delete'
  })
}
